home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / asm / music / protracker / readme.txt < prev    next >
Text File  |  1996-02-29  |  1KB  |  53 lines

  1. Protracker Source Code                  January 27. 1992
  2. ----------------------
  3.  
  4. > Public Domain <
  5.  
  6. This archive contains source for protracker 1.2 (and 2.0) plus graphics
  7. in IFF, RAW and my own PAK format (RLE coding).
  8.  
  9. The sources are 100% 68000 assembler and sparsely commented. I take no
  10. responsibility for what will happen it you try to do anything with them.
  11. The code was assembled using Hisoft Devpac 2 and 3 using NO include files.
  12. Known bugs in the 1.2 version are the sampler (not the sample editor) and
  13. problems with requesters that does not originate from PT (like R/W errors).
  14.  
  15. hsi!genly!ang!thanos@uunet.uu.net (Thanos Angelopoulos) has written this
  16. patch to make the input handler code work with 2.04. This in not in the
  17. current 1.2 source. You should put it there yourself, and change my code
  18. to use DoIO instead.
  19.  
  20. ; PT1.1 2.04 init port patch
  21.  
  22.     INCLUDE INCL:all_offsets
  23.  
  24. ; a1 = port addr
  25.  
  26. scratch reg a0-1/d0-1
  27.  
  28.     movem.l    scratch,-(sp)
  29.  
  30.     move.l    a1,-(sp)
  31.  
  32.     moveq.l    #-1,d0
  33.     jsr    ALLOCSIGNAL(a6)
  34.     move.l    d0,d2
  35.  
  36.     sub.l    a1,a1
  37.     jsr    FINDTASK(a6)
  38.  
  39.     move.l    (sp)+,a1        ; port addr
  40.     clr.b    LN_PRI(a1)
  41.     clr.l    LN_NAME(a1)        ; private port
  42.     move.b    #NT_MSGPORT,LN_TYPE(a1)
  43.     move.b    d2,MP_SIGBIT(a1)
  44.     move.l    d0,MP_SIGTASK(a1)
  45.     jsr    ADDPORT(a6)
  46.  
  47.     movem.l    (sp)+,scratch
  48.     rts
  49.  
  50. ---
  51. Lars Hamre / Amiga Freelancers 1992
  52. larsha@sofus.dhhalden.no
  53.